package com.code.day16.d_lambda;

import java.util.function.Function;

public class TestFunction {
    public static void main(String[] args) {

        method(i -> i+"",100);

    }

    public static void method(Function<Integer, String> function, Integer i){
        String s = function.apply(i);
        System.out.println(s+1);

    }

}
